import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { VueAxios } from './utils/request'

import echarts from 'echarts'

import './utils/filter' // global filter

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import $ from 'jquery'

import animated from 'animate.css'
Vue.use(animated)

Vue.prototype.$ = $
Vue.use(ElementUI)

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

// mount axios Vue.$http and this.$http
Vue.use(VueAxios)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
